using huqiang.Core.HGUI;
using huqiang.UIModel;

public class DatePage : UIPage
{
    DatePageView view;
    public override void Initial(UIElement parent, object dat = null)
    {
        base.Initial(parent, dat);
        LoadUI("DatePage");
        view = new DatePageView();
        InitialEvent();
    }
    void InitialEvent()
    {
        view.Date.Refresh();
        view.Last.Click = (o, e) => {
            LoadPage<DrawPage>();
        };
    }
}